<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="com.boxin.ims.modules.wechat.entity.Product" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN" manifest="/misc/wei_cache_new.manifest">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<title>订单列表</title>

<link href="${ctxStatic }/site/themes/DianShangMuBan/css/boilerplate.css" rel="stylesheet" type="text/css">
<link href="${ctxStatic }/site/themes/DianShangMuBan/css/css.css" rel="stylesheet" type="text/css">
<script src="${ctxStatic }/site/themes/DianShangMuBan/js/jquery.min.js"></script>

</head>
<body style="background-color:#fef4ec" >

<div class="gridContainer clearfix"  style="margin-bottom:50px;" >
  <div id="LayoutDiv1">
    <dl style="margin:5% 5% 2.5% 5%; float:left; width:90%">
      <dt>订单状态：
      	<font color="#FF0000">
			<c:if test="${detailOrder.status eq 0 }">
				待支付
				<a href="${ctxFront }/site/shopping/createPay?uid=${uid }&wechatId=${wechatId }&productId=${detailOrder.product.id }&productNumber=${detailOrder.productNumber }">去支付</a>
			</c:if>
			<c:if test="${detailOrder.status eq 2 }">
				待收货
				<a href="${ctxFront }/site/shopping/receipt?uid=${uid}&wechatId=${wechatId}&orderId=${detailOrder.id}">确认收货</a>
			</c:if>
			<c:if test="${detailOrder.status eq 3 }">
				交易完成 
  			</c:if>
		</font>
      </dt>
      <dt>订单号：${detailOrder.orderNo }</dt>
    </dl>
    <dl style="margin:2.5% 5%; float:left; width:90%">
      <dt class="order_dt_baisefont"> 
      	<span style=" float:left">订单金额</span>
      	<span style="float:right"><fmt:formatNumber value="${detailOrder.price/100 }" pattern="##.##"  minFractionDigits="2"/></span> 
      </dt>
      <dt class="clear order_dt" >
        <p  style="padding:2%">
        	<span style=" float:left">商品总额：</span>
        	<span style="float:right"><fmt:formatNumber value="${detailOrder.price/100 }" pattern="##.##"  minFractionDigits="2"/></span> 
        </p>
        <!-- <p class="clear" style="padding:2%"><span style=" float:left">-返现：</span><span style="float:right">￥0.00</span> </p>
        <p class="clear"  style="padding:2%"><span style=" float:left">+运费：</span><span style="float:right">￥0.00</span></p> -->
      </dt>
    </dl>
    <dl class="order_dl">
      <dt style="float:left; width:16%; "><img src="${ctxUser }/product/${detailOrder.product.indexPic}" width="60" height="60"> </dt>
      <dt style="float:left; width:80%; padding-left:3%;  padding-top:3%;"> 
      	<span style="font-size:15px; float:left">${detailOrder.name }</span>
      	<span class="font999" style="float:right">数量：${detailOrder.productNumber}</span> 
      </dt>
    </dl>
    <dl class="order_dl">
      <dt class="clear" >
        <p><span class="font_left">${detailOrder.address.name }</span><span class="font_right">${detailOrder.address.mobile }</span> </p>
        <hr class="clear">
        <p class="clear font999" style="padding:2%">${detailOrder.address.province }${detailOrder.address.city }${detailOrder.address.county }${detailOrder.address.detail }</p>
      </dt>
    </dl>
    <dl class="order_dl">
      <dt class="clear">
        <p><span class="font_left">支付方式</span>
           <span class="font_right">
           	<c:if test="${detailOrder.payType eq 1}">支付宝</c:if>
           	<c:if test="${detailOrder.payType eq 2}">财付通</c:if>
           	<c:if test="${detailOrder.payType eq 3}">网银</c:if>
		   </span> 
         </p>
      </dt>
    </dl>
  </div>
<!--   <footer class=" clear backfoot">
    <ul>
      <li>
      	<span class="icon_house_alt" ></span><br>
        <span>首页</span>
      </li>
      <li>
		<span class="icon_ul"></span><br>
        <span>分类</span>
      </li>
      <li> 
      	<span class="icon_shop"></span><br>
        <span>购物车</span>
      </li>
      <li class="onclick"> 
      	<span class="icon_people"></span><br>
        <span>我的</span>
      </li>
    </ul>
  </footer> -->
</div>

</body>
</html>

